﻿namespace OAuth.Providers.Twitter
{

    internal static class Settings
    {

        /// <summary>Gets the Consumer Key.</summary>
        public static string ConsumerKey { get; internal set; }
        /// <summary>Gets the Consumer Secret.</summary>
        public static string ConsumerSecret { get; internal set; }
        /// <summary>Gets the Response format.</summary>
        public static ResponseFormats ResponseFormat { get; internal set; }

        private const string ETRADE_SERVER_PRODUCTION = "https://etws.etrade.com";

        #region Authorization URLs

        internal static string RequestTokenUrl { get { return "https://api.twitter.com/oauth/request_token"; } }
        internal static string AuthorizeUrl { get { return "https://api.twitter.com/oauth/authorize"; } }
        internal static string AccessTokenUrl { get { return "https://api.twitter.com/oauth/access_token"; } }

        #endregion

        #region Statuses URLs

        internal static string StatusesHomeTimelineUrl
        {
            get
            {
                return string.Concat("http://api.twitter.com/1/statuses/home_timeline.",
                                     ResponseFormat.ToString().ToLower());
            }
        }

        #endregion

    }

}